import request from '@/utils/request'
import { ResultVoid, DeepRequired } from '../../interface'

/**
 * 停用角色
 * /role/one/status/{id}
 */
export function deleteRoleOneStatusById(params: DeleteRoleOneStatusByIdParams) {
  return request.delete<DeepRequired<ResultVoid>>(
    `/role/one/status/${params.id}`,
  )
}

interface DeleteRoleOneStatusByIdParams {
  id: number
}
